﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Classes
{
    public class Photo
    {
        [Key]
        public int PhotoId {get;set;}
        public string FlickrPhotoId {get;set;}
        public string Tags { get; set; }
        
        
        public double Latitude { get; set; }
        public double Longtitude { get; set; }

        public DateTime? DateTaken { get; set; }

        public string ThumbnailUrl { get; set; }
        public string ImageUrl { get; set; }

        public int? Rotation { get; set; }
        public string Descripton { get; set; }

        [NotMapped]
        public double Rank { get; set; }

        [NotMapped]
        public double Distance { get; set; }

    }
}
